package com.mazaiting.generator.domain.query;

import com.mazaiting.web.domain.base.BasePageQuery;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * 数据库表查询条件
 *
 * @author mazaiting
 * @create_time 2022/10/28 13:30
 */
@Setter
@Getter
@ToString
public class TableQuery extends BasePageQuery {
    /**
     * 数据源 ID
     */
    @NotNull(message = "数据源不能为空")
    private Long datasourceId;
    /**
     * 表名
     */
    private String tableName;
}
